package com.joinway.bean.logging.type;

import com.joinway.bean.logging.constant.MaskConstants;

public enum LogMaskType {
    /**
     * mask all chars
     */
    FullMask("*"), 
    
    /**
     * mask by LogUtils
     */
    SimpleMask(MaskConstants.MASK);
    
    private final String mask;


    /**
     * @param mask
     */
    private LogMaskType(String mask) {
        this.mask = mask;
    }
    
    public String getMask(){
        return mask;
    }
}
